<div>
	<div class="header">
		<a href="#productlist" class="btn btnleft">刷新</a>
		<h1>{{headerName}}</h1>
		<a href="#productcreate" class="btn btnright">发布</a>
	</div>
	<div class="content">
		<div style="margin:5px;">
		<form role="form">
			<div class="form-group" style="margin-bottom:0px;">
				<input type="text" class="form-control" id="search" placeholder="产品关键字（至少两个）">
			</div>
		</form>
		</div>
		<div class="scroller" style="margin:4px;">
			<ul class="list" id="myproductsalelist">
			</ul>
		</div>
	</div>
	<div class="footer">
		<div class="row">
			<div class="col-xs-3"><a href="#guidepage"><div class="icon icon-green"></div><div>绿色通道</div></a></div>
			<div class="col-xs-3 persist"><a href="#marketpage"><div class="icon icon-sale-persist"></div><div>逛逛市场</div></a></div>
			<div class="col-xs-3"><a href="#parterpage"><div class="icon icon-parter"></div><div>我的伙计</div></a></div>
			<div class="col-xs-3"><a href="#userpage"><div class="icon icon-user"></div><div>用户中心</div></a></div>
		</div>
	</div>
	<script type="text/javascript">
	Global.loading();
	$.ajax({
		type: 'GET',
    	url: GLOBAL_CONTEXT_PATH + '/product/listJsonItems.html?product.saleType=0',
    	dataType: 'json',
    	crossDomain: true,
    	processData: true,
    	success: function (data){
    		$('#myproductsalelist').html(Global.loadFragment('listitems', data));
            Global.setItem("listitems", data);
    		Global.loaded();
    	},
    	error:function(msg) {
    		Global.longToast(msg);
    		$('#myproductsalelist').html(Global.loadFragment('listitems', Global.getItem("listitems")));
    		Global.loaded();
    	}
	});
	<{{!}}/script>
</div>